FROM openjdk:8
RUN mkdir /mydir
WORKDIR /mydir
ADD libs/ /mydir/libs/
ADD chat_server.jar /mydir/chat_server.jar
ADD config/ /mydir/config/
EXPOSE 10010
VOLUME /mydir/logs
CMD java -server -cp "libs/*:*" com.taurus.permanent.Main